﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace eVoting
{
    public partial class _Default : System.Web.UI.Page
    {
        DBManager db;

        protected void Page_Load(object sender, EventArgs e)
        {
            db = new DBManager();


            //Test to make sure that the DBConnestion is working :
            //make it 2010, then run, then check that in table User, column studyGroup equals 5 in all rows
      // then make it 2008, then run, then check that in table User, column studyGroup equals 3 in all rows
            db.updateStudyGroupForAllNonAdvisingStudents(2010);

        }
    }
}
